<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: keyboard.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00731.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">keyboard.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03629_source.html">precomp.h</a>&quot;</code><br />
</div>
<p><a href="a00731_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a4f33bf462d284b706f2f453e2bddd203"><td class="memItemLeft" align="right" valign="top">SHORT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00731.html#a4f33bf462d284b706f2f453e2bddd203">_GetKeyState</a> (int vk)</td></tr>
<tr class="separator:a4f33bf462d284b706f2f453e2bddd203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a3f95ba0694746c5099aa1846b335c5"><td class="memItemLeft" align="right" valign="top">SHORT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00731.html#a5a3f95ba0694746c5099aa1846b335c5">_GetAsyncKeyState</a> (int vk)</td></tr>
<tr class="separator:a5a3f95ba0694746c5099aa1846b335c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a256c2f3a60b0889b9a480de5b4cc92b2"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00731.html#a256c2f3a60b0889b9a480de5b4cc92b2">_SetKeyboardState</a> (BYTE *pb)</td></tr>
<tr class="separator:a256c2f3a60b0889b9a480de5b4cc92b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65d15366436f57e84e9966882c9dcd06"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00731.html#a65d15366436f57e84e9966882c9dcd06">RegisterPerUserKeyboardIndicators</a> (VOID)</td></tr>
<tr class="separator:a65d15366436f57e84e9966882c9dcd06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0b98cada03a8ea241c03267bdc15b7a"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00731.html#ad0b98cada03a8ea241c03267bdc15b7a">UpdatePerUserKeyboardIndicators</a> (VOID)</td></tr>
<tr class="separator:ad0b98cada03a8ea241c03267bdc15b7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad268d543ffe6046f7c8d1200f1a839dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00731.html#ad268d543ffe6046f7c8d1200f1a839dc">UpdateAsyncKeyState</a> (<a class="el" href="a00365.html#ac89cb073766feaaaa23fbbf29657fcd7">PQ</a> pqOwner, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> wVK, BOOL fBreak)</td></tr>
<tr class="separator:ad268d543ffe6046f7c8d1200f1a839dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a7d30625f157df91a4fa6045369efffa5"><td class="memItemLeft" align="right" valign="top">WCHAR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00731.html#a7d30625f157df91a4fa6045369efffa5">szWINDOWS</a> []</td></tr>
<tr class="separator:a7d30625f157df91a4fa6045369efffa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1930f6c68cc138cce62633a209223fee"><td class="memItemLeft" align="right" valign="top">KEYBOARD_INDICATOR_PARAMETERS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00731.html#a1930f6c68cc138cce62633a209223fee">klpBootTime</a></td></tr>
<tr class="separator:a1930f6c68cc138cce62633a209223fee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9ec925df37a65c830be829e4b8b6247"><td class="memItemLeft" align="right" valign="top">static WCHAR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00731.html#af9ec925df37a65c830be829e4b8b6247">wszInitialKeyboardIndicators</a> [] = L&quot;InitialKeyboardIndicators&quot;</td></tr>
<tr class="separator:af9ec925df37a65c830be829e4b8b6247"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="a5a3f95ba0694746c5099aa1846b335c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a3f95ba0694746c5099aa1846b335c5">&#9670;&nbsp;</a></span>_GetAsyncKeyState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SHORT _GetAsyncKeyState </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>vk</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00731_source.html">keyboard.c</a> 第 <a class="el" href="a00731_source.html#l00086">86</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;{</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    SHORT sKeyState;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="keywordflow">if</span> ((<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)vk &gt;= CVKKEYSTATE) {</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <a class="code" href="a00371.html#adbdd8355d15a97b6f3a9e4766e6a2cc1">RIPERR1</a>(ERROR_INVALID_PARAMETER,</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;                <a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>,</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;                <span class="stringliteral">&quot;Invalid parameter \&quot;vk\&quot; (%ld) to _GetAsyncKeyState&quot;</span>,</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;                vk);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    }</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment">     * See if this key went down since the last time state for it was</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment">     * read. Clear the flag if so.</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    sKeyState = 0;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="keywordflow">if</span> (TestAsyncKeyStateRecentDown(vk)) {</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        ClearAsyncKeyStateRecentDown(vk);</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        sKeyState = 1;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    }</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="comment">     * Set the keyup/down bit.</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keywordflow">if</span> (TestAsyncKeyStateDown(vk))</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        sKeyState |= 0x8000;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">     * Don&#39;t return the toggle bit since it&#39;s a new bit and might</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="comment">     * cause compatibility problems.</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keywordflow">return</span> sKeyState;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00120">RIPERR1</a> , 以及 <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03290_source.html#l04859">IdleTimerProc()</a>, <a class="el" href="a03614_source.html#l03711">NtUserGetAsyncKeyState()</a>, <a class="el" href="a03590_source.html#l00797">xxxMNOpenHierarchy()</a>, <a class="el" href="a00890_source.html#l01622">xxxNextWindow()</a>, <a class="el" href="a00890_source.html#l00780">xxxPaintIconsInSwitchWindow()</a>, <a class="el" href="a00890_source.html#l00984">xxxPaintSwitchWindow()</a> , 以及 <a class="el" href="a00890_source.html#l01434">xxxShowSwitchWindow()</a>.</p>

</div>
</div>
<a id="a4f33bf462d284b706f2f453e2bddd203"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f33bf462d284b706f2f453e2bddd203">&#9670;&nbsp;</a></span>_GetKeyState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SHORT _GetKeyState </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>vk</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00731_source.html">keyboard.c</a> 第 <a class="el" href="a00731_source.html#l00026">26</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;{</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> wKeyState;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <a class="code" href="a02889.html">PTHREADINFO</a> pti;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="keywordflow">if</span> ((<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)vk &gt;= CVKKEYSTATE) {</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        <a class="code" href="a00371.html#adbdd8355d15a97b6f3a9e4766e6a2cc1">RIPERR1</a>(ERROR_INVALID_PARAMETER,</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;                <a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>,</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;                <span class="stringliteral">&quot;Invalid parameter \&quot;vk\&quot; (%ld) to _GetKeyState&quot;</span>,</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;                vk);</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    }</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    pti = PtiCurrentShared();</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#ifdef LATER</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">// note - anything that accesses the pq structure is a bad idea since it</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment">// can be changed between any two instructions.</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    wKeyState = 0;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">     * Set the toggle bit.</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordflow">if</span> (TestKeyStateToggle(pti-&gt;<a class="code" href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">pq</a>, vk))</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        wKeyState = 0x0001;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">     * Set the keyup/down bit.</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordflow">if</span> (TestKeyStateDown(pti-&gt;<a class="code" href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">pq</a>, vk)) {</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="comment">         * Used to be wKeyState|= 0x8000.Fix for bug 28820; Ctrl-Enter</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">         * accelerator doesn&#39;t work on Nestscape Navigator Mail 2.0</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        wKeyState |= 0xff80;  <span class="comment">// This is what 3.1 returned!!!!</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    }</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordflow">return</span> (SHORT)wKeyState;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899_source.html#l02273">tagTHREADINFO::pq</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00120">RIPERR1</a> , 以及 <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00890_source.html#l01093">InitSwitchWndInfo()</a>, <a class="el" href="a03614_source.html#l07744">NtUserGetKeyState()</a>, <a class="el" href="a00671_source.html#l01146">xxxDefWindowProc()</a>, <a class="el" href="a00671_source.html#l00217">xxxDWP_ProcessVirtKey()</a>, <a class="el" href="a00659_source.html#l00335">xxxIsDragging()</a>, <a class="el" href="a00785_source.html#l00466">xxxMNLoop()</a>, <a class="el" href="a00800_source.html#l00377">xxxMS_TrackMove()</a>, <a class="el" href="a00890_source.html#l02004">xxxOldNextWindow()</a>, <a class="el" href="a00890_source.html#l00780">xxxPaintIconsInSwitchWindow()</a>, <a class="el" href="a00890_source.html#l00984">xxxPaintSwitchWindow()</a>, <a class="el" href="a00890_source.html#l01434">xxxShowSwitchWindow()</a>, <a class="el" href="a00788_source.html#l00052">xxxTrackPopupMenuEx()</a> , 以及 <a class="el" href="a00758_source.html#l00284">xxxTranslateAccelerator()</a>.</p>

</div>
</div>
<a id="a256c2f3a60b0889b9a480de5b4cc92b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a256c2f3a60b0889b9a480de5b4cc92b2">&#9670;&nbsp;</a></span>_SetKeyboardState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _SetKeyboardState </td>
          <td>(</td>
          <td class="paramtype">BYTE *&#160;</td>
          <td class="paramname"><em>pb</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00731_source.html">keyboard.c</a> 第 <a class="el" href="a00731_source.html#l00135">135</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;{</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <a class="code" href="a02869.html">PQ</a> pq;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    pq = <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>()-&gt;<a class="code" href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">pq</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="comment">     * Copy in the new state table.</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; 256; i++, pb++) {</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <span class="keywordflow">if</span> (*pb &amp; 0x80) {</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;            SetKeyStateDown(pq, i);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;            ClearKeyStateDown(pq, i);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        }</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <span class="keywordflow">if</span> (*pb &amp; 0x01) {</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;            SetKeyStateToggle(pq, i);</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;            ClearKeyStateToggle(pq, i);</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        }</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    }</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="comment">     * Update the key cache index.</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a125933441b95aca04386827b052dfe42">dwKeyCache</a>++;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="preprocessor">#ifdef LATER</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="comment">// scottlu 6-9-91</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="comment">// I don&#39;t think we ought to do this unless someone really complains. This</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="comment">// could have bad side affects, especially considering that terminal</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment">// apps will want to do this, and terminal apps could easily not respond</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment">// to input for awhile, causing this state to change unexpectedly while</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment">// a user is using some other application. - scottlu.</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="comment">/* DavidPe 02/05/92</span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="comment"> *  How about if we only do it when the calling app is foreground?</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="comment">     * Propagate the toggle bits for the keylight keys to the</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="comment">     * async keystate table and update the keylights.</span></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="comment">     *</span></div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="comment">     * THIS could be evil in a de-synced environment, but to do this</span></div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment">     * in a totally &quot;synchronous&quot; way is hard.</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    <span class="keywordflow">if</span> (pb[VK_CAPITAL] &amp; 0x01) {</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        SetAsyncKeyStateToggle(VK_CAPITAL);</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        ClearAsyncKeyStateToggle(VK_CAPITAL);</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    }</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <span class="keywordflow">if</span> (pb[VK_NUMLOCK] &amp; 0x01) {</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        SetAsyncKeyStateToggle(VK_NUMLOCK);</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        ClearAsyncKeyStateToggle(VK_NUMLOCK);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    }</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    <span class="keywordflow">if</span> (pb[<a class="code" href="a00368.html#a9171e0a1fa6ffc3e66205122b281c2a8">VK_OEM_SCROLL</a>] &amp; 0x01) {</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        SetAsyncKeyStateToggle(<a class="code" href="a00368.html#a9171e0a1fa6ffc3e66205122b281c2a8">VK_OEM_SCROLL</a>);</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        ClearAsyncKeyStateToggle(<a class="code" href="a00368.html#a9171e0a1fa6ffc3e66205122b281c2a8">VK_OEM_SCROLL</a>);</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    }</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    <a class="code" href="a00809.html#ae9e17fe51ed990cf8ba026f816d6b51b">UpdateKeyLights</a>();</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l01046">tagSERVERINFO::dwKeyCache</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a00899_source.html#l02273">tagTHREADINFO::pq</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a>, <a class="el" href="a00809_source.html#l01686">UpdateKeyLights()</a> , 以及 <a class="el" href="a00368_source.html#l00045">VK_OEM_SCROLL</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03614_source.html#l01696">NtUserSetKeyboardState()</a>.</p>

</div>
</div>
<a id="a65d15366436f57e84e9966882c9dcd06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65d15366436f57e84e9966882c9dcd06">&#9670;&nbsp;</a></span>RegisterPerUserKeyboardIndicators()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID RegisterPerUserKeyboardIndicators </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00731_source.html">keyboard.c</a> 第 <a class="el" href="a00731_source.html#l00223">223</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;{</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    WCHAR wszInitKbdInd[2] = L<span class="stringliteral">&quot;0&quot;</span>;</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160; </div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="comment">     * Initial Keyboard state (Num-Lock only)</span></div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    wszInitKbdInd[0] += TestAsyncKeyStateToggle(VK_NUMLOCK) ? 2 : 0;</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <a class="code" href="a00821.html#a118e1e46632af34063e8683498631431">FastWriteProfileStringW</a>(PMAP_KEYBOARD, <a class="code" href="a00731.html#af9ec925df37a65c830be829e4b8b6247">wszInitialKeyboardIndicators</a>, wszInitKbdInd);</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00821_source.html#l00592">FastWriteProfileStringW()</a> , 以及 <a class="el" href="a00731_source.html#l00220">wszInitialKeyboardIndicators</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03236_source.html#l00255">EndShutdown()</a>.</p>

</div>
</div>
<a id="ad268d543ffe6046f7c8d1200f1a839dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad268d543ffe6046f7c8d1200f1a839dc">&#9670;&nbsp;</a></span>UpdateAsyncKeyState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UpdateAsyncKeyState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#ac89cb073766feaaaa23fbbf29657fcd7">PQ</a>&#160;</td>
          <td class="paramname"><em>pqOwner</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>wVK</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fBreak</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00731_source.html">keyboard.c</a> 第 <a class="el" href="a00731_source.html#l00289">289</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;{</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <a class="code" href="a02869.html">PQ</a> pqT;</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    PLIST_ENTRY pHead, pEntry;</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    <a class="code" href="a02889.html">PTHREADINFO</a> pti;</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160; </div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    CheckCritIn();</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160; </div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<span class="comment">     * First check to see if the queue this key is going to has a pending</span></div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="comment">     * key state event. If it does, post it because we need to copy the</span></div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="comment">     * async key state into this event as it is before we modify</span></div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="comment">     * this key&#39;s state, or else we&#39;ll generate a key state event with</span></div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="comment">     * the wrong key state in it.</span></div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;    <span class="keywordflow">if</span> (pqOwner != NULL &amp;&amp; pqOwner-&gt;<a class="code" href="a02869.html#a2b01f3f47a105e7bf6f6196ba5673926">QF_flags</a> &amp; QF_UPDATEKEYSTATE) {</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        <a class="code" href="a03290.html#a3c7a65a04f65f7c71626a1cca090a475">PostUpdateKeyStateEvent</a>(pqOwner);</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    }</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160; </div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    <span class="keywordflow">if</span> (!fBreak) {</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<span class="comment">         * This key has gone down - update the &quot;recent down&quot; bit in the</span></div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;<span class="comment">         * async key state table.</span></div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;        SetAsyncKeyStateRecentDown(wVK);</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160; </div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="comment">         * This is a key make. If the key was not already down, update the</span></div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;<span class="comment">         * toggle bit.</span></div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;        <span class="keywordflow">if</span> (!TestAsyncKeyStateDown(wVK)) {</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;            <span class="keywordflow">if</span> (TestAsyncKeyStateToggle(wVK)) {</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;                ClearAsyncKeyStateToggle(wVK);</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;                SetAsyncKeyStateToggle(wVK);</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;            }</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;        }</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160; </div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<span class="comment">         * This is a make, so turn on the key down bit.</span></div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;        SetAsyncKeyStateDown(wVK);</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160; </div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;<span class="comment">         * This is a break, so turn off the key down bit.</span></div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;        ClearAsyncKeyStateDown(wVK);</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;    }</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160; </div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;<span class="comment">     * If this is one of the keys we cache, update the async key cache index.</span></div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;    <span class="keywordflow">if</span> (wVK &lt; CVKASYNCKEYCACHE) {</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;        <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#af022f477dc1c3ff919fb27200fadcbca">dwAsyncKeyCache</a>++;</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    }</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160; </div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<span class="comment">     * A key has changed state. Update all queues not receiving this input so</span></div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;<span class="comment">     * they know that this key has changed state. This lets us know which keys to</span></div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<span class="comment">     * update in the thread specific key state table to keep it in sync</span></div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;<span class="comment">     * with the user.  Walking down the thread list may mean that an</span></div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;<span class="comment">     * individual queue may by updated more than once, but it is cheaper</span></div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;<span class="comment">     * than maintaining a list of queues on the desktop.</span></div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;    pHead = &amp;<a class="code" href="a03257.html#a326757fcfe334f2ffd59d64d4645d37a">grpdeskRitInput</a>-&gt;<a class="code" href="a02801.html#a2e665ea3941bf02f8d89deaebca7b0e4">PtiList</a>;</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    <span class="keywordflow">for</span> (pEntry = pHead-&gt;Flink; pEntry != pHead; pEntry = pEntry-&gt;Flink) {</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        pti = CONTAINING_RECORD(pEntry, <a class="code" href="a02889.html">THREADINFO</a>, PtiLink);</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160; </div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;<span class="comment">         * Don&#39;t update the queue this message is going to - it&#39;ll be</span></div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;<span class="comment">         * in sync because it is receiving this message.</span></div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;        pqT = pti-&gt;<a class="code" href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">pq</a>;</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;        <span class="keywordflow">if</span> (pqT == pqOwner)</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;            <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160; </div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;<span class="comment">         * Set the &quot;recent down&quot; bit. In this case this doesn&#39;t really mean</span></div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;<span class="comment">         * &quot;recent down&quot;, it means &quot;recent change&quot; (since the last time</span></div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;<span class="comment">         * we synced this queue), either up or down. This tells us which</span></div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;<span class="comment">         * keys went down since the last time this thread synced with key</span></div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;<span class="comment">         * state. Set the &quot;update key state&quot; flag so we know that later</span></div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;<span class="comment">         * we need to sync with these keys.</span></div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;        SetKeyRecentDownBit(pqT-&gt;<a class="code" href="a02869.html#a875fdfc42780d6ae1b2d7df4402afae1">afKeyRecentDown</a>, wVK);</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;        pqT-&gt;<a class="code" href="a02869.html#a2b01f3f47a105e7bf6f6196ba5673926">QF_flags</a> |= QF_UPDATEKEYSTATE;</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;    }</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160; </div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="comment">     * Update the key cache index.</span></div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a125933441b95aca04386827b052dfe42">dwKeyCache</a>++;</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899_source.html#l02177">tagQ::afKeyRecentDown</a>, <a class="el" href="a00365_source.html#l01047">tagSERVERINFO::dwAsyncKeyCache</a>, <a class="el" href="a00365_source.html#l01046">tagSERVERINFO::dwKeyCache</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a03257_source.html#l00187">grpdeskRitInput</a>, <a class="el" href="a03290_source.html#l01728">PostUpdateKeyStateEvent()</a>, <a class="el" href="a00899_source.html#l02273">tagTHREADINFO::pq</a>, <a class="el" href="a00899_source.html#l01726">tagDESKTOP::PtiList</a> , 以及 <a class="el" href="a00899_source.html#l02187">tagQ::QF_flags</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00809_source.html#l01026">_KeyEvent()</a> , 以及 <a class="el" href="a00809_source.html#l00483">ButtonEvent()</a>.</p>

</div>
</div>
<a id="ad0b98cada03a8ea241c03267bdc15b7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0b98cada03a8ea241c03267bdc15b7a">&#9670;&nbsp;</a></span>UpdatePerUserKeyboardIndicators()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID UpdatePerUserKeyboardIndicators </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00731_source.html">keyboard.c</a> 第 <a class="el" href="a00731_source.html#l00244">244</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;{</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dw;</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <a class="code" href="a02869.html">PQ</a> pq;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160; </div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    pq = <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>()-&gt;<a class="code" href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">pq</a>;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="comment">     * Initial Keyboard state (Num-Lock only)</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    dw = <a class="code" href="a00821.html#ac6fcd0c4a1edcf555a8934429c71db81">FastGetProfileIntW</a>(PMAP_KEYBOARD, <a class="code" href="a00731.html#af9ec925df37a65c830be829e4b8b6247">wszInitialKeyboardIndicators</a>, 2);</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    dw &amp;= 0x80000002;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160; </div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="comment">     * The special value 0x80000000 in the registry indicates that the BIOS</span></div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="comment">     * settings are to be used as the initial LED state. (This is undocumented)</span></div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    <span class="keywordflow">if</span> (dw == 0x80000000) {</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        dw = <a class="code" href="a00731.html#a1930f6c68cc138cce62633a209223fee">klpBootTime</a>.LedFlags;</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    }</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    <span class="keywordflow">if</span> (dw &amp; 0x02) {</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        SetKeyStateToggle(pq, VK_NUMLOCK);</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        SetAsyncKeyStateToggle(VK_NUMLOCK);</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;        SetKeyToggleBit(<a class="code" href="a03257.html#a2f3efd1c8f99c7f561e46a5743aecbee">gafPhysKeyState</a>, VK_NUMLOCK);</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;        ClearKeyStateToggle(pq, VK_NUMLOCK);</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        ClearAsyncKeyStateToggle(VK_NUMLOCK);</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;        ClearKeyToggleBit(<a class="code" href="a03257.html#a2f3efd1c8f99c7f561e46a5743aecbee">gafPhysKeyState</a>, VK_NUMLOCK);</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    }</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    <a class="code" href="a00809.html#ae9e17fe51ed990cf8ba026f816d6b51b">UpdateKeyLights</a>();</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00821_source.html#l00548">FastGetProfileIntW()</a>, <a class="el" href="a03257_source.html#l00253">gafPhysKeyState</a>, <a class="el" href="a00809_source.html#l00045">klpBootTime</a>, <a class="el" href="a00899_source.html#l02273">tagTHREADINFO::pq</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a>, <a class="el" href="a00809_source.html#l01686">UpdateKeyLights()</a> , 以及 <a class="el" href="a00731_source.html#l00220">wszInitialKeyboardIndicators</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00719_source.html#l01681">xxxUpdatePerUserSystemParameters()</a>.</p>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a1930f6c68cc138cce62633a209223fee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1930f6c68cc138cce62633a209223fee">&#9670;&nbsp;</a></span>klpBootTime</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KEYBOARD_INDICATOR_PARAMETERS klpBootTime</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00809_source.html">ntinput.c</a> 第 <a class="el" href="a00809_source.html#l00045">45</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00809_source.html#l00403">InitKeyboard()</a> , 以及 <a class="el" href="a00731_source.html#l00244">UpdatePerUserKeyboardIndicators()</a>.</p>

</div>
</div>
<a id="a7d30625f157df91a4fa6045369efffa5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d30625f157df91a4fa6045369efffa5">&#9670;&nbsp;</a></span>szWINDOWS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WCHAR szWINDOWS[]</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af9ec925df37a65c830be829e4b8b6247"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9ec925df37a65c830be829e4b8b6247">&#9670;&nbsp;</a></span>wszInitialKeyboardIndicators</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">WCHAR wszInitialKeyboardIndicators[] = L&quot;InitialKeyboardIndicators&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00731_source.html">keyboard.c</a> 第 <a class="el" href="a00731_source.html#l00220">220</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00731_source.html#l00223">RegisterPerUserKeyboardIndicators()</a> , 以及 <a class="el" href="a00731_source.html#l00244">UpdatePerUserKeyboardIndicators()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa03257_html_a2f3efd1c8f99c7f561e46a5743aecbee"><div class="ttname"><a href="a03257.html#a2f3efd1c8f99c7f561e46a5743aecbee">gafPhysKeyState</a></div><div class="ttdeci">BYTE gafPhysKeyState[CBKEYSTATE]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00253">kernel/globals.c:253</a></div></div>
<div class="ttc" id="aa03290_html_a3c7a65a04f65f7c71626a1cca090a475"><div class="ttname"><a href="a03290.html#a3c7a65a04f65f7c71626a1cca090a475">PostUpdateKeyStateEvent</a></div><div class="ttdeci">void PostUpdateKeyStateEvent(PQ pq)</div><div class="ttdef"><b>Definition:</b> <a href="a03290_source.html#l01728">kernel/input.c:1728</a></div></div>
<div class="ttc" id="aa02513_html_af022f477dc1c3ff919fb27200fadcbca"><div class="ttname"><a href="a02513.html#af022f477dc1c3ff919fb27200fadcbca">tagSERVERINFO::dwAsyncKeyCache</a></div><div class="ttdeci">DWORD dwAsyncKeyCache</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01047">user.h:1047</a></div></div>
<div class="ttc" id="aa02869_html_a2b01f3f47a105e7bf6f6196ba5673926"><div class="ttname"><a href="a02869.html#a2b01f3f47a105e7bf6f6196ba5673926">tagQ::QF_flags</a></div><div class="ttdeci">DWORD QF_flags</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02187">userk.h:2187</a></div></div>
<div class="ttc" id="aa00809_html_ae9e17fe51ed990cf8ba026f816d6b51b"><div class="ttname"><a href="a00809.html#ae9e17fe51ed990cf8ba026f816d6b51b">UpdateKeyLights</a></div><div class="ttdeci">VOID UpdateKeyLights(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00809_source.html#l01686">ntinput.c:1686</a></div></div>
<div class="ttc" id="aa02801_html_a2e665ea3941bf02f8d89deaebca7b0e4"><div class="ttname"><a href="a02801.html#a2e665ea3941bf02f8d89deaebca7b0e4">tagDESKTOP::PtiList</a></div><div class="ttdeci">LIST_ENTRY PtiList</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01726">userk.h:1726</a></div></div>
<div class="ttc" id="aa00731_html_af9ec925df37a65c830be829e4b8b6247"><div class="ttname"><a href="a00731.html#af9ec925df37a65c830be829e4b8b6247">wszInitialKeyboardIndicators</a></div><div class="ttdeci">static WCHAR wszInitialKeyboardIndicators[]</div><div class="ttdef"><b>Definition:</b> <a href="a00731_source.html#l00220">keyboard.c:220</a></div></div>
<div class="ttc" id="aa00257_html_a8315d2c807ba18ba9e528c40614b6173"><div class="ttname"><a href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a></div><div class="ttdeci">PTHREADINFO PtiCurrent(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00526">winmgrc.c:526</a></div></div>
<div class="ttc" id="aa02869_html_a875fdfc42780d6ae1b2d7df4402afae1"><div class="ttname"><a href="a02869.html#a875fdfc42780d6ae1b2d7df4402afae1">tagQ::afKeyRecentDown</a></div><div class="ttdeci">BYTE afKeyRecentDown[CBKEYSTATERECENTDOWN]</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02177">userk.h:2177</a></div></div>
<div class="ttc" id="aa00731_html_a1930f6c68cc138cce62633a209223fee"><div class="ttname"><a href="a00731.html#a1930f6c68cc138cce62633a209223fee">klpBootTime</a></div><div class="ttdeci">KEYBOARD_INDICATOR_PARAMETERS klpBootTime</div><div class="ttdef"><b>Definition:</b> <a href="a00809_source.html#l00045">ntinput.c:45</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa00821_html_a118e1e46632af34063e8683498631431"><div class="ttname"><a href="a00821.html#a118e1e46632af34063e8683498631431">FastWriteProfileStringW</a></div><div class="ttdeci">BOOL FastWriteProfileStringW(UINT idSection, LPCWSTR lpKeyName, LPCWSTR lpString)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00592">profile.c:592</a></div></div>
<div class="ttc" id="aa00821_html_ac6fcd0c4a1edcf555a8934429c71db81"><div class="ttname"><a href="a00821.html#ac6fcd0c4a1edcf555a8934429c71db81">FastGetProfileIntW</a></div><div class="ttdeci">UINT FastGetProfileIntW(UINT idSection, LPCWSTR lpKeyName, UINT nDefault)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00548">profile.c:548</a></div></div>
<div class="ttc" id="aa00371_html_a41f433389f20db57f042022a662e96de"><div class="ttname"><a href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a></div><div class="ttdeci">#define RIP_WARNING</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00029">winerrp.h:29</a></div></div>
<div class="ttc" id="aa02513_html_a125933441b95aca04386827b052dfe42"><div class="ttname"><a href="a02513.html#a125933441b95aca04386827b052dfe42">tagSERVERINFO::dwKeyCache</a></div><div class="ttdeci">DWORD dwKeyCache</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01046">user.h:1046</a></div></div>
<div class="ttc" id="aa02889_html_aea8fcdf7513cfa8972ff27524296079b"><div class="ttname"><a href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">tagTHREADINFO::pq</a></div><div class="ttdeci">struct tagQ * pq</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02273">userk.h:2273</a></div></div>
<div class="ttc" id="aa00368_html_a9171e0a1fa6ffc3e66205122b281c2a8"><div class="ttname"><a href="a00368.html#a9171e0a1fa6ffc3e66205122b281c2a8">VK_OEM_SCROLL</a></div><div class="ttdeci">#define VK_OEM_SCROLL</div><div class="ttdef"><b>Definition:</b> <a href="a00368_source.html#l00045">vkoem.h:45</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa00371_html_adbdd8355d15a97b6f3a9e4766e6a2cc1"><div class="ttname"><a href="a00371.html#adbdd8355d15a97b6f3a9e4766e6a2cc1">RIPERR1</a></div><div class="ttdeci">#define RIPERR1(idErr, flags, szFmt, p1)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00120">winerrp.h:120</a></div></div>
<div class="ttc" id="aa02889_html"><div class="ttname"><a href="a02889.html">tagTHREADINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02260">userk.h:2260</a></div></div>
<div class="ttc" id="aa03257_html_a326757fcfe334f2ffd59d64d4645d37a"><div class="ttname"><a href="a03257.html#a326757fcfe334f2ffd59d64d4645d37a">grpdeskRitInput</a></div><div class="ttdeci">PDESKTOP grpdeskRitInput</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00187">kernel/globals.c:187</a></div></div>
<div class="ttc" id="aa00020_html_ad760da1dd81d9e84dee607d18edfde39"><div class="ttname"><a href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a></div><div class="ttdeci">PSERVERINFO gpsi</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00039">clglobal.c:39</a></div></div>
<div class="ttc" id="aa02869_html"><div class="ttname"><a href="a02869.html">tagQ</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02156">userk.h:2156</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_2a0a56546b70a0973705719e6a88eab3.html">kernel</a></li><li class="navelem"><a class="el" href="a00731.html">keyboard.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
